package com.loong.news;

import com.loong.common.redis.RedisTools;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;
import tk.mybatis.spring.annotation.MapperScan;

@EnableAsync(proxyTargetClass = true)
@EnableDiscoveryClient
@MapperScan(value = {"com.loong.news.mapper"})
@EnableFeignClients
@SpringBootApplication(scanBasePackages = {"com.loong.common", "com.loong.news"})
public class NewsServiceApplication {

    public static void main(String[] args) {

        SpringApplication.run(NewsServiceApplication.class, args);
    }

}
